<template>
  <div class="xuanka">
    <div class="heng">
      <div v-for="(item, index) in mess.zhi" :key="index" class="heng_ban">
        <div class="kuan">
          <div class="img">
            <img :src="item.img" alt="" />
          </div>
          <div class="text">
            <p>{{ item.usname }}</p>
            <p>{{ item.name }}</p>
          </div>
          <div class="shijian">{{ item.shijian }}</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "Xuanka",
  props: ["mess"],
};
</script>
<style lang="less" scoped>
.xuanka {
  .heng {
    display: flex;
    flex-wrap: wrap;
    .heng_ban {
      width: 50%;
      padding: 10px 0;
    }
  }
  .kuan {
    display: flex;
    align-items: center;
    justify-content: space-around;

    .img {
      width: 80px;
      height: 80px;
      border-radius: 10px;
      overflow: hidden;
      img {
        width: 100%;
      }
    }
    .text {
      width: 320px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
  }
}
</style>
